package com.matt.domain.courseV2.po;

import com.dotflat.util.excelUtil.Excel;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.matt.commons.model.Domain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 课程 - 活动课内容
 */
@lombok.Data
@ApiModel("课程 - 详情")
public class CourseContentV2PO  {

    @JsonIgnore
    private Boolean deleted = false;
    @ApiModelProperty(value = "ID")
    private String id;

    @ApiModelProperty(value = "课程ID")
    private String courseId;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "课程详情")
    private String  details;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "显示顺序")
    private Integer orderNum;

    @ApiModelProperty(value = "开始时间")
    private String beginAt;

    @ApiModelProperty(value = "结束时间")
    private String endAt;

    @ApiModelProperty(value = "时长（分钟）")
    private String durations;

    @ApiModelProperty(value = "视频video,音频radio,图片image,文本txt")
    private String type;

    @ApiModelProperty(value = "子集类型：0无子集，1子集列表")
    private Integer parentType = 0;

    @ApiModelProperty(value = "菜单样式：0默认，1圆形样式，2时间样式")
    private Integer menuStyle = 0;

    @ApiModelProperty(value = "封面")
    private String cover;

    @ApiModelProperty(name = "种类类型 :1机构2月龄3周")
    private Integer categoryType;

    @ApiModelProperty(value = "教具")
    private List<CourseToolPO> toolList  = new ArrayList<>();

    @ApiModelProperty(value = "注意事项")
    private String remark;

    @ApiModelProperty(value = "子列表")
    private  List<CourseContentV2PO> contentList  = new ArrayList<>();

}